package com.link2room.ironhide.facade;

import com.link2room.common.dto.param.base.BaseL2rParamDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.ironhide.dto.param.manager.L2RAreaManagerParamDto;
import com.link2room.ironhide.dto.result.base.L2RCityDto;
import com.link2room.ironhide.dto.result.base.L2RCountryDto;
import com.link2room.ironhide.dto.result.base.L2RDistrictDto;
import com.link2room.ironhide.dto.result.base.L2RProvinceDto;


/**
 * Created by sss on 2016/10/11.
 */
public interface IAreaManagerFacadeService {
    /**
     * 国家列表
     * @throws Exception
     * @param baseL2rParamDto
     */
    QueryResult<L2RCountryDto> listL2RCountry(BaseL2rParamDto baseL2rParamDto)throws Exception;

    /**
     * 省份列表
     * @param l2RAreaManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<L2RProvinceDto> listL2RProvice(L2RAreaManagerParamDto l2RAreaManagerParamDto)throws Exception;

    /**
     * 城市列表
     * @param l2RAreaManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<L2RCityDto> listL2RCity(L2RAreaManagerParamDto l2RAreaManagerParamDto)throws Exception;

    /**
     * 区域列表
     * @param l2RAreaManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<L2RDistrictDto> listL2RDistrict(L2RAreaManagerParamDto l2RAreaManagerParamDto)throws Exception;

    L2RDistrictDto getL2RDistrict(L2RAreaManagerParamDto l2RAreaManagerParamDto)throws Exception;

    void importL2RPositionBase(L2RAreaManagerParamDto l2RAreaManagerParamDto)throws Exception;
}
